/* pages/refund/static/index.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 确保body至少占据整个视口高度 */
    overflow-y: auto; /* 允许body滚动 */
}

#refund_app {
    flex-grow: 1; /* 确保app占据所有可用空间 */
    padding-bottom: 60px; /* 为tabbar留出空间 */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #fff;
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
}

.header h1 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.clear-cache-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.clear-cache-btn:active {
    background-color: #0056b3;
}

.main-content {
    padding: 15px;
    flex-grow: 1;
}

.order-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 20px;
}

.order-list h2 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.order-item {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
}

.order-item p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.order-item strong {
    color: #333;
}

.refund-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

.refund-btn:active {
    background-color: #c82333;
}
